package com.weixing.mall.provider.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.weixing.mall.provider.api.model.vo.ActivityProductVo;
import com.weixing.mall.provider.model.domain.GoodsConcern;
import com.weixing.mall.provider.model.dto.GoodsConcernDto;
import com.weixing.mall.provider.model.vo.GoodsConcernVo;

import java.util.List;


/**
 * * <p>
 *  * 商品模块-加入收藏 服务类
 *  * </p>
 * @author lgc
 * @date 2019/12/6 15:21
 */
public interface IGoodsConcernService extends IService<GoodsConcern> {

    void save(GoodsConcernDto goodsConcernDto, Long mid);

    void delBatch(int productIds[]);

    void del(Long id);

    IPage<GoodsConcernVo> selectByMemberId(Page page,Long member_id);

    List<ActivityProductVo>  selectGoodsConcern(long[] good_ids);

    int selectCount(Long mid);

    void saveBatch(List<Long> ids, Long mid);

    int selectMyStore(Long memberId);

    void cancel(Long mid,Long goodsId, Long productId);
}
